package work;

public class Account {
	double salary=0;
	int good=50;
	int pass=25;
	
	
	//public Account() {
	//	this.salary=salary;
	//}
	public double Salary(int g,int p) {
		this.salary=g*good+p*pass;
		return salary;
	}
	public double finalSalary(int g,int p) {
		
		this.salary=g*good+p*pass-0.1*(g*good+p*pass);
		return salary;
	}
}
